package com.jd.sentinel;

import com.jd.domain.User;
import org.springframework.web.bind.annotation.PathVariable;


public class OrderFallbackClass {

    public static User getOrderByIdFallback(@PathVariable("id") Long id, Throwable e){
        return new User(-1L, "服务降级触发！!!!", "服务不可调用，遭不住了la");
    }

}
